<template>
	<view style="background-color: darkgrey;height: 100vh;background-size: cover;">
		<view style="margin-top: 20rpx;">
			<view @click="name" class="aaa">
				 <span>更改昵称</span>
			</view>
			<view  class="aaa">
				<view @click="password"> <span >更改密码</span> </view>
				
				
				
			</view>
			<view  class="aaa">
				<view @click="tc"> <span >退出</span> </view>
				
				
				
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			tc(){
				uni.removeStorage({
					key:'name'
				})
			},
			password(){
				uni.reLaunch({
					url:'/pages/updatepassword/updatepassword'
				})
			},
			
			name(){
				uni.reLaunch({
					url:'/pages/updatename/updatename'
				})
			}
			
		}
	}
</script>

<style>
.aaa{
	display: flex;
	width: 100%;
	
	align-items: center;
	background-color: #FFFF;
	height: 80rpx;
	margin-bottom: 20rpx;
	
}
</style>
